<template>
  <div class="blank">
    <!-- 空路由 实际路由的上层 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "Blank",
  data() {
    return {};
  },
  computed: {},
  watch: {
    $route(nV, oV) {
      const blank =
        this.$route.matched[this.$route.matched.length - 1].components.default
          .name === "Blank";
      if (blank) {
        this.$router.push({
          path: "/"
        });
      }
    }
  },
  mounted() {},
  methods: {}
};
</script>
